<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    {% load static%}
    
    <link rel="stylesheet" type="text/css" href="{% static 'css/1.css' %}"/>
    
</head>
<body  bgcolor="mediumblue" text="red" background="{% static 'image/t0159286b556e65f811.jpg' %}">

<div class="container"  >
        <div class="row">
            <div class="span4">
            </div>
            <div class="span4">
                <h2>
                    <em><strong>Blog在线个人博客</strong></em>
                </h2>
            </div>
            <div class="span4">
            </div>
        </div>
        <div class="row">
            <div class="span3">
            </div>
            <div class="span6" >
                <form class="form-horizontal" id="loginForm" name="loginForm" method="post" action="/login/index/">
                    {% csrf_token %}
                    <div class="control-group">
                            <label class="control-label" for="inputEmail">账号</label>
                        <div class="controls">
                            
                            <input type="text" id="number" name="number" value="{{ number }}" placeholder="登录账号" required/><br/>
                            
                        </div>
                    </div>
                    <div class="control-group">
                            <label class="control-label" for="inputcode">密码</label>
                        <div class="controls">
                            <input type="password" id="code" name="code" value="{{ code }}" placeholder="登录密码" required/><br/>
                        </div>
                    </div>
                    <div class="control-group">
                        <div class="controls">
                            
                            <button type="submit" class="btn"  >登陆</button>  
                            <input type="checkbox" name="yy" value="yy" />记住密码  
                                   
                        </div>
                    </div>
                </form>
                
                <form class="form-horizontal" >
                    <div class="control-group">
                            <div class="controls">
                                <button type="submit" class="btn" ><a href="/login/register" >注册</a></button>
                                <a href="/login/wjmm/">忘记密码
                                <button type="submit" class="btn" ><a href="/login?page=1" >返回主界面</a></button>
                                <lable style="color:brown">{{ message }}</lable></a><br>
                            </div>
                        </div>
                        
                </form>
            </div>
            <div class="span3">
            </div>
        </div>
    </div>
</body>
</html>
